package com.liner;

public class SwitchCaseDemo {
    public static void main(String[] args) {
        int i = 1;
        switch (i) {
            case 1:
                System.out.println("1");
                break;
            case 2:
                System.out.println("2");
                break;
            case 3:
                System.out.println("3");
                break;
            case 4:
                System.out.println("4");
                break;
            default:
                System.out.println("其他");
        }

    }
}
